﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="exportData.aspx.cs" Inherits="PeisongWeb.admin.exportData" %>

<%@ Register TagName="top" Src="controls/top.ascx" TagPrefix="uc1" %>
<%@ Register TagName="menu" Src="controls/menu.ascx" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>导出数据</title>
    <!--#include file="style.inc"-->
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm1" runat="server">
    </asp:ScriptManager>
    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <uc1:top ID="Top1" runat="server" />
    <uc2:menu ID="Menu1" runat="server" />
    <div id="admin-body">
        <h2 class="section-cms">
            导出数据</h2>
        <p>&nbsp;</p>
        <ext:Panel ID="Panel1" runat="server" Title="商品的采购量和供应价格" BodyStyle="padding:5px 5px 0"
            Width="960" Frame="true" ButtonAlign="Center">
            <Body>
                <div id="admin_edit_content_search">
                    <asp:UpdatePanel runat="server" ID="UP1">
                        <Triggers>
                            <asp:PostBackTrigger ControlID="lbl_ExportToExcel" />
                        </Triggers>
                        <ContentTemplate>
                            <ul>
                                <li style="width: 175px;">
                                    <label>
                                        大 类：</label>
                                    <asp:DropDownList runat="server" ID="ddl_CategoryRoot" DataTextField="name" DataValueField="categoryId"
                                        AutoPostBack="True" OnSelectedIndexChanged="ddl_CategoryRoot_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </li>
                                <li style="width: 175px;">
                                    <label>
                                        小 类：</label>
                                    <asp:DropDownList runat="server" ID="ddl_CategorySub" DataTextField="name" DataValueField="categoryId">
                                    </asp:DropDownList>
                                </li>
                                <li style="width: 220px;">
                                    <label style="width: 75px;">
                                        商品编号:</label>
                                    <asp:TextBox ID="txt_ProductNo" runat="server" Width="120px"></asp:TextBox>
                                </li>
                                <li style="width: 220px;">
                                    <label style="width: 75px;">
                                        商品名称:</label>
                                    <asp:TextBox ID="txt_ProductName" runat="server" Width="120px"></asp:TextBox>
                                </li>
                                <li style="width: 100px;">
                                    <asp:LinkButton runat="server" ID="lbl_ExportToExcel" Text="导出Excel" ToolTip="导出采购量"
                                        CausesValidation="false" OnClick="lbl_ExportToExcel_Click"></asp:LinkButton>
                                </li>
                                <li style="width: auto">
                                    <label>
                                        下单日期</label>
                                    <ext:DateField ID="ext_StartInputDt" runat="server" AllowBlank="true" ReadOnly="true"
                                        Width="100" />
                                </li>
                                <li style="width: auto">
                                    <label style="width: 25px">
                                        至
                                    </label>
                                    <ext:DateField ID="ext_EndInputDt" ReadOnly="true" runat="server" Width="100" />
                                </li>
                            </ul>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </Body>
        </ext:Panel>
        <p>&nbsp;</p>
        <ext:Panel ID="Panel2" runat="server" Title="供应商所供应的商品" BodyStyle="padding:5px 5px 0"
            Width="960" Frame="true" ButtonAlign="Center">
            <Body>
                <div id="admin_edit_content_search">
                    <ul>
                        <li style="width: auto;">
                            <label style="width: auto;">
                                供应商:</label>
                            <asp:DropDownList runat="server" ID="ddl_seller" DataTextField="company" DataValueField="companyid">
                            </asp:DropDownList>
                        </li>
                        <li style="margin-left: 50px">
                            <asp:LinkButton runat="server" ID="lbn_ExportProduct" Text="导出Excel" ToolTip="导出供应商所供应的商品"
                                CausesValidation="false" OnClick="lbn_ExportProduct_Click"></asp:LinkButton>
                        </li>
                    </ul>
                </div>
            </Body>
        </ext:Panel>
    </div>
    </form>
</body>
</html>
